package com.live.stamp.base.common;

/**
 * response返回值
 * @author cwd E-mail: wendong.cao@jsxfedu.com
 * @version 1
 * @date 2018/3/14 14:28
 */
public class ServerResponse {
    public static final int SUCCESS = 200;
    public static final int ERROR_NETWORK = 1;
    public static final int ERROR_SERVER = 2;
    public static final int ERROR_BBUSINESS = 3;
    private int code = 0;
    private String msg;
    private Object data;

    public ServerResponse() {
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return this.data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
